<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'code'); ?>
		<?php echo $form->textField($model,'code',array('size'=>8,'maxlength'=>8)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'taxdesc'); ?>
		<?php echo $form->textField($model,'taxdesc',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'sales'); ?>
		<?php echo $form->textField($model,'sales'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'account'); ?>
		<?php echo $form->textField($model,'account',array('size'=>15,'maxlength'=>15)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'accountdesc'); ?>
		<?php echo $form->textField($model,'accountdesc',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'rate'); ?>
		<?php echo $form->textField($model,'rate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vendor'); ?>
		<?php echo $form->textField($model,'vendor',array('size'=>4,'maxlength'=>4)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'costacct'); ?>
		<?php echo $form->textField($model,'costacct',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'piggy'); ?>
		<?php echo $form->textField($model,'piggy'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'labor1'); ?>
		<?php echo $form->textField($model,'labor1'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'material1'); ?>
		<?php echo $form->textField($model,'material1'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'other1'); ?>
		<?php echo $form->textField($model,'other1'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'servagr1'); ?>
		<?php echo $form->textField($model,'servagr1'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->